/* 
 *  ChatWindowController.h 
 *  iCPU
 *
 *  Created by Kosovan Sasha on 08.10.06.
 *  Licensed under GNU GPL v2
 *
 */ 

#import <Cocoa/Cocoa.h>

@interface ChatWindowController : NSWindowController
{
    IBOutlet id hisText;
    IBOutlet id myText;
	NSFileHandle *fileHandle;
	int badCount;
	BOOL changedAlot;
	int changeCount;
	char inputBuffer[4000];
	int bufferCount;
}

- (id)initWithConnection:(NSFileHandle *)aFileHandle;
- (void)receiveMessage:(NSNotification *)notification;
- (void)closeWindow:(NSNotification *)notification;
- (void)textChanged;
- (void)textDidEndEditing:(NSNotification *)notification;
@end
